package cn.huiyunche.base.service.form;

import org.hibernate.validator.constraints.NotBlank;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 价格查询form
 * Created by LYN on 9/11/16.
 */
public class BFeeProductForm {

    @NotBlank(message = "发车城市code不能为空！")
    private String departCityCode;

    @NotBlank(message = "发车省名称不能为空！")
    private String departProvinceName;

    @NotBlank(message = "发车城市名称不能为空！")
    private String departCityName;

    @NotBlank(message = "发车地区不能为空！")
    private String departCountyCode;

    @NotBlank(message = "交车省名称不能为空！")
    private String departCountyName;

    @NotBlank(message = "交车城市code不能为空！")
    private String receiptCityCode;

    @NotBlank(message = "交车省名称不能为空！")
    private String receiptProvinceName;

    @NotBlank(message = "交车城市名称不能为空！")
    private String receiptCityName;

    @NotBlank(message = "交车地区不能为空！")
    private String receiptCountyCode;

    @NotBlank(message = "交车省名称不能为空！")
    private String receiptCountyName;

    @DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
    private Date departDate;

    /**
     * 0:上午, 1:下午
     */
    private String departTime;


    public String getReceiptCountyCode() {
        return receiptCountyCode;
    }

    public void setReceiptCountyCode(String receiptCountyCode) {
        this.receiptCountyCode = receiptCountyCode;
    }

    public String getReceiptCountyName() {
        return receiptCountyName;
    }

    public void setReceiptCountyName(String receiptCountyName) {
        this.receiptCountyName = receiptCountyName;
    }

    public String getReceiptCityName() {
        return receiptCityName;
    }

    public void setReceiptCityName(String receiptCityName) {
        this.receiptCityName = receiptCityName;
    }

    public String getReceiptProvinceName() {
        return receiptProvinceName;
    }

    public void setReceiptProvinceName(String receiptProvinceName) {
        this.receiptProvinceName = receiptProvinceName;
    }

    public String getReceiptCityCode() {
        return receiptCityCode;
    }

    public void setReceiptCityCode(String receiptCityCode) {
        this.receiptCityCode = receiptCityCode;
    }

    public String getDepartCountyCode() {
        return departCountyCode;
    }

    public void setDepartCountyCode(String departCountyCode) {
        this.departCountyCode = departCountyCode;
    }

    public String getDepartCountyName() {
        return departCountyName;
    }

    public void setDepartCountyName(String departCountyName) {
        this.departCountyName = departCountyName;
    }

    public String getDepartCityName() {
        return departCityName;
    }

    public void setDepartCityName(String departCityName) {
        this.departCityName = departCityName;
    }

    public String getDepartProvinceName() {
        return departProvinceName;
    }

    public void setDepartProvinceName(String departProvinceName) {
        this.departProvinceName = departProvinceName;
    }

    public String getDepartCityCode() {
        return departCityCode;
    }

    public void setDepartCityCode(String departCityCode) {
        this.departCityCode = departCityCode;
    }

    public Date getDepartDate() {
        return departDate;
    }

    public void setDepartDate(Date departDate) {
        this.departDate = departDate;
    }

    public String getDepartTime() {
        return departTime;
    }

    public void setDepartTime(String departTime) {
        this.departTime = departTime;
    }

    @Override
    public String toString() {
        return "BFeeProductForm [departCityCode=" + departCityCode + ", departProvinceName=" + departProvinceName
                + ", departCityName=" + departCityName + ", departCountyCode=" + departCountyCode
                + ", departCountyName=" + departCountyName + ", receiptCityCode=" + receiptCityCode
                + ", receiptProvinceName=" + receiptProvinceName + ", receiptCityName=" + receiptCityName
                + ", receiptCountyCode=" + receiptCountyCode + ", receiptCountyName=" + receiptCountyName
                + ", departDate=" + departDate + ", departTime=" + departTime + "]";
    }
}
